package com.wangzhixuan.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-04-16
 */
@TableName("dic_catalog")
public class DicCatalog extends Model<DicCatalog> {

    private static final long serialVersionUID = 1L;

    /**
     * Id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("catlog_code")
	private String catlogCode;
    /**
     * 分类名称
     */
	@TableField("catalog_name")
	private String catalogName;
    /**
     * 描述
     */
	private String note;
    /**
     * 状态
     */
	private String state;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCatlogCode() {
		return catlogCode;
	}

	public void setCatlogCode(String catlogCode) {
		this.catlogCode = catlogCode;
	}

	public String getCatalogName() {
		return catalogName;
	}

	public void setCatalogName(String catalogName) {
		this.catalogName = catalogName;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
